﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PictureOrganizer2.Controls
{
    class ToolStripButtonControl : ToolStripButton, IButtonControl
    {

        private DialogResult myDialogResult;

        public DialogResult DialogResult
        {
            get
            {
                return this.myDialogResult;
            }

            set
            {
                if (Enum.IsDefined(typeof(DialogResult), value))
                {
                    this.myDialogResult = value;
                }
            }
        }

        public void NotifyDefault(bool value)
        {
            //...
        }
    }
}
